﻿<div ng-controller="StoreController">
    <div class="mb10 clearfix">
        <h3>Store List</h3>
        <button ng-click="createNew()">{{texts['btn-create-new']}}</button>
    </div>
     <div class="clearfix">
         <table class="tableKind-01 table-StoreList w760" >
             <tr>
                 <th>{{texts['lb-order']}}</th>
                 <th>{{texts['lb-store']}}</th>
                 <th>{{texts['lb-total-staff']}}</th>
                 <th>{{texts['lb-edit']}}</th>
             </tr>
             <tr ng-repeat="row in rowsStoreList">
                 <td>{{$index + 1}}</td>
                 <td>{{row.StoreName}}</td>
                 <td>{{row.TotalStaff}}</td>
                 <td class="center"><button class="w110" ng-click="onEdit(row.StoreId, $index, row.TotalStaff)">{{texts['btn-edit']}}</button></td>
             </tr>
         </table>
     </div>
</div>
